<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <head>
        <link rel="stylesheet" type="text/css" href="/js/jquery/easyui/themes/default/easyui.css">
        <link rel="stylesheet" type="text/css" href="/js/jquery/easyui/themes/icon.css">
        <script type="text/javascript" src="/js/jquery/jquery.1.11.3.min.js"></script>
        <script type="text/javascript" src="/js/jquery/easyui/jquery.easyui.min.js"></script>
        <script type="text/javascript" src="/js/task/task.js"></script>
    </head>
    <body>
    	<div style="margin: 0 auto;">
    		<div id="header" style="border:1px solid #cde;height: 100px;width: 100%;"></div>
    		<div id="center" style="border:1px solid #013;width: 100%;margin-top: 15px;height: auto;">
				<div id="left" style="float:left;border:1px solid #ccc;width: 10%;height: auto;min-height:300px;float: left;"></div>
				<div id="content" style="float: left;width: 85%;margin-left: 20px;">
					<table class="easyui-datagrid" title="任务列表" style="width:auto;height:250px"
							id="taskList" data-options="singleSelect:true,collapsible:true,url:'/task/listAll',method:'get'">
						<thead>
							<tr>
								<th data-options="field:'id',width:80,align: 'center'">任务ID</th>
								<th data-options="field:'name',width:100,align: 'center'">任务名</th>
								<th data-options="field:'subName',width:80,align:'center'">子任务名</th>
								<th data-options="field:'type',width:80,align: 'center'">任务类型</th>
								<th data-options="field:'cronTab',width:80,align: 'center'">CronTab</th>
								<th data-options="field:'state',width:70,align:'center',editor:'select'">任务状态码</th>
								<th data-options="field:'stateDesc',width:150,align: 'center'">任务状态描述</th>
								<th data-options="field:'nextStartTime',width:150,align: 'center'">下次执行时间</th>
								<th data-options="field:'createDT',width:150,align:'center'">任务创建时间</th>
								<th data-options="field:'hostName',width:80,align: 'center'">执行任务主机</th>
								<th data-options="field:'createUser',width:100,align:'center'">任务创建人</th>
							</tr>
						</thead>
					</table>
				</div>
        	</div>
        	<div style="clean:both"></div>
        	<div id="footer" style="float: right;margin-top: 15px;border:1px solid #ccc;height: 100px;width: 100%;"></div>
        </div>
    </body>
</html>
